package com.yanqu.road.entity.tradewar;

import com.yanqu.road.entity.DataObject;

/**
 * 玩家商战门客数据
 */
public class UserTradeWarPatronsData extends DataObject {

	private long userId;

	private int patronsId;
	/**
	 * 门客当天挑战次数
	 */
	private int battleTimes;
	/**
	 * 门客当天挑战购买次数
	 */
	private int buyBattleTimes;
	/**
	 * 剩余随机出战次数
	 */
	private int randomBattleTimes;
	/**
	 * 当天总共随机出战次数
	 */
	private int totalRandomBattleTimes;
	/**
	 * 开始恢复随机出战时间
	 */
	private long restoreRandomBattleTime;
	/**
	 * 当天恢复随机出战轮次
	 */
	private int randomBattleRestoreTimes;

	private long modifyTime;
	/**
	 * 门客当天挑战次数
	 */
	private int crossBattleTimes;
	/**
	 * 门客当天挑战购买次数
	 */
	private int crossBuyBattleTimes;
	/**
	 * 剩余随机出战次数
	 */
	private int crossRandomBattleTimes;
	/**
	 * 当天总共随机出战次数
	 */
	private int crossTotalRandomBattleTimes;
	/**
	 * 开始恢复随机出战时间
	 */
	private long crossRestoreRandomBattleTime;
	/**
	 * 当天恢复随机出战轮次
	 */
	private int crossRandomBattleRestoreTimes;

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		if (this.userId != userId) {
			this.userId = userId;
			setUpdateOption();
		}
	}

	public int getPatronsId() {
		return patronsId;
	}

	public void setPatronsId(int patronsId) {
		if(this.patronsId != patronsId) {
			this.patronsId = patronsId;
			setUpdateOption();
		}
	}

	public int getBattleTimes() {
		return battleTimes;
	}

	public void setBattleTimes(int battleTimes) {
		if(this.battleTimes != battleTimes) {
			this.battleTimes = battleTimes;
			setUpdateOption();
		}
	}

	public int getBuyBattleTimes() {
		return buyBattleTimes;
	}

	public void setBuyBattleTimes(int buyBattleTimes) {
		if(this.buyBattleTimes != buyBattleTimes) {
			this.buyBattleTimes = buyBattleTimes;
			setUpdateOption();
		}
	}

	public int getRandomBattleTimes() {
		return randomBattleTimes;
	}

	public void setRandomBattleTimes(int randomBattleTimes) {
		if(this.randomBattleTimes != randomBattleTimes) {
			this.randomBattleTimes = randomBattleTimes;
			setUpdateOption();
		}
	}

	public int getTotalRandomBattleTimes() {
		return totalRandomBattleTimes;
	}

	public void setTotalRandomBattleTimes(int totalRandomBattleTimes) {
		if(this.totalRandomBattleTimes != totalRandomBattleTimes) {
			this.totalRandomBattleTimes = totalRandomBattleTimes;
			setUpdateOption();
		}
	}

	public long getRestoreRandomBattleTime() {
		return restoreRandomBattleTime;
	}

	public void setRestoreRandomBattleTime(long restoreRandomBattleTime) {
		if(this.restoreRandomBattleTime != restoreRandomBattleTime) {
			this.restoreRandomBattleTime = restoreRandomBattleTime;
			setUpdateOption();
		}
	}

	public int getRandomBattleRestoreTimes() {
		return randomBattleRestoreTimes;
	}

	public void setRandomBattleRestoreTimes(int randomBattleRestoreTimes) {
		if(this.randomBattleRestoreTimes != randomBattleRestoreTimes) {
			this.randomBattleRestoreTimes = randomBattleRestoreTimes;
			setUpdateOption();
		}
	}

	public long getModifyTime() {
		return modifyTime;
	}

	public void setModifyTime(long modifyTime) {
		if(this.modifyTime != modifyTime) {
			this.modifyTime = modifyTime;
			setUpdateOption();
		}
	}

	public int getCrossBattleTimes() {
		return crossBattleTimes;
	}

	public void setCrossBattleTimes(int crossBattleTimes) {
		if(this.crossBattleTimes != crossBattleTimes) {
			this.crossBattleTimes = crossBattleTimes;
			setUpdateOption();
		}
	}

	public int getCrossBuyBattleTimes() {
		return crossBuyBattleTimes;
	}

	public void setCrossBuyBattleTimes(int crossBuyBattleTimes) {
		if(this.crossBuyBattleTimes != crossBuyBattleTimes) {
			this.crossBuyBattleTimes = crossBuyBattleTimes;
			setUpdateOption();
		}
	}

	public int getCrossRandomBattleTimes() {
		return crossRandomBattleTimes;
	}

	public void setCrossRandomBattleTimes(int crossRandomBattleTimes) {
		if(this.crossRandomBattleTimes != crossRandomBattleTimes) {
			this.crossRandomBattleTimes = crossRandomBattleTimes;
			setUpdateOption();
		}
	}

	public int getCrossTotalRandomBattleTimes() {
		return crossTotalRandomBattleTimes;
	}

	public void setCrossTotalRandomBattleTimes(int crossTotalRandomBattleTimes) {
		if(this.crossTotalRandomBattleTimes != crossTotalRandomBattleTimes) {
			this.crossTotalRandomBattleTimes = crossTotalRandomBattleTimes;
			setUpdateOption();
		}
	}

	public long getCrossRestoreRandomBattleTime() {
		return crossRestoreRandomBattleTime;
	}

	public void setCrossRestoreRandomBattleTime(long crossRestoreRandomBattleTime) {
		if(this.crossRestoreRandomBattleTime != crossRestoreRandomBattleTime) {
			this.crossRestoreRandomBattleTime = crossRestoreRandomBattleTime;
			setUpdateOption();
		}
	}

	public int getCrossRandomBattleRestoreTimes() {
		return crossRandomBattleRestoreTimes;
	}

	public void setCrossRandomBattleRestoreTimes(int crossRandomBattleRestoreTimes) {
		if(this.crossRandomBattleRestoreTimes != crossRandomBattleRestoreTimes) {
			this.crossRandomBattleRestoreTimes = crossRandomBattleRestoreTimes;
			setUpdateOption();
		}
	}
}
